package com.xquant.pricing.calc.entity;

public enum ProductTypeEnum {

    OTC_OPTION("OtcOption", "场外期权"),
    FX_OTC_OPTION("FxOtcOption", "外汇期权"),
    CDS("CDS", "信用违约互换"),
    CRMW("CRMW", "信用风险缓释凭证"),
    FORWARD("Forward", "远期合约"),
    IR_OPTION("IrOption", "利率期权"),
    IR_SWAP("IrSwap", "利率互换"),
    INCOME_CERTIFICATE("IncomeCertificate", "收益凭证"),
    BOND_FUTURE("BondFuture", "利率互换"),
    BOND("Bond", "债券"),
    CMDT_SWAP("CommoditySwap", "商品掉期"),
    CMDT_FORWARD("CommodityForward", "商品远期"),
    IRSTREAMS("IRStreams", "现金借贷"),
    STRATEGY("STRATEGY", "组合期权")
    ;

    private String code;
    private String desc;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    ProductTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
